﻿using InventoryIssue.Domain;
using InventoryIssue.ErrorCode;
using MediatR;

namespace InventoryIssue.API.Read.Application.Command.Allocate
{
    public class GetAllocateOperationLogCommand:IRequest<APIPaging<OperationLog>>
    {
        /// <summary>
        /// 操作类型
        /// </summary>
        public string? OperationType { get; set; }
        
        /// <summary>
        /// 操作人
        /// </summary>
        public string? Operator { get; set; }
        
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? OperationTime { get; set; }
        
        /// <summary>
        /// 调拨单号
        /// </summary>
        public string? AllocateId { get; set; }
        
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;
        
        /// <summary>
        /// 每页条数
        /// </summary>
        public int PageSize { get; set; } = 10;
    }
}
